package ${cfg.dubboServicePackage};

import java.lang.reflect.InvocationTargetException;
import java.util.*;
import com.github.pagehelper.PageInfo;
import ${cfg.entityVOPackage}.${entity}VO;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${entity}DubboService {

    ${entity}VO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(${entity}VO ${entity ?uncap_first}VO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<${entity}VO> findPageByVO(${entity}VO ${entity ?uncap_first}VO,Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<${entity}VO> ${entity ?uncap_first}VOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(${entity}VO ${entity ?uncap_first}VO);
}
</#if>
